﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SatellitePlatformBoard.aspx.cs" Inherits="Catering.DisplayBoards.SatellitePlatformBoard" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
    <script src="/Scripts/jquery-1.4.1.js" type="text/javascript"></script>
    <link href="/Style/DisplayBoard.css" rel="stylesheet" type="text/css" />

    <script type="text/javascript">
        function RefreshPage() {
            $("#Btn_Ref").trigger("click");
        }

        $(function () {
            $(".Table_2>tbody tr:odd").addClass("Table_Tr_odd");
            var test = setInterval(RefreshPage, 6000);
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
    <div class="layout" style="padding-top:25px; position:relative;">
        <%--<div class="Tab">
            <ul>
                <li><a href="SatellitePlatformBoard.aspx?AreaID=2" class="<%=(Request.QueryString["AreaID"].ToString()=="2")?"curr":""%>">辽东作业区</a></li>
                <li><a href="SatellitePlatformBoard.aspx?AreaID=4" class="<%=(Request.QueryString["AreaID"].ToString()=="4")?"curr":""%>">渤南作业区</a></li>
                <li><a href="SatellitePlatformBoard.aspx?AreaID=1" class="<%=(Request.QueryString["AreaID"].ToString()=="1")?"curr":""%>">渤西作业区</a></li>
            </ul>
        </div>--%>
        <asp:UpdatePanel ID="UpdatePanel1" runat="server">
        <ContentTemplate>
        <asp:Button ID="Btn_Ref" runat="server" Text="" style="width:0px; height:0px; border:0px;" onclick="Btn_Ref_Click" />
        <table border="0" cellpadding="0" cellspacing="1" width="97%" class="Table_2">
            <thead>
                <tr class="Table_2_Title">
                    <td rowspan="2" style="position:relative; width:100px;">
                        <div style="height: 85px;position: absolute;left: 0px;width: 100%;top: -25px;">
                            <div class="Title">
                                <div class="Title_Left"></div>
                                <div class="Title_Right"></div>
                                <div class="Title_text">
                                    <%switch (Request.QueryString["AreaID"].ToString()) { 
                                          case "1":%>渤西<br />作业区<%break;
                                          case "2":%>辽东<br />作业区<%break;
                                          case "4":%>渤南<br />作业区<%break;
                                      } %></div>
                                
                            </div>
                        </div>
                        卫星平台</td>
                    <td rowspan="2">卫星平台<div style="height: 85px;position: absolute;left: 0px;width: 100%;top: -25px;">
                           
                    </td>
                    <td colspan="3">人员动态</td>
                    <%--<td rowspan="2">就餐人数</td>--%>
                    <td colspan="5">物资储备</td>
                    <td colspan="3">日常监控</td>
                    <td colspan="7">厨房状态</td>
                </tr>
                <tr>
                    <td>在岗人员</td>
                    <td>倒班人员</td>
                    <td>床位数</td>
                    <td>卧具（套）</td>
                    <td>餐具（套）</td>
                    <td>米</td>
                    <td>面</td>
                    <td>油</td>
                    <td>上菜日期</td>
                    <td>巡检日期</td>
                    <td>每日沟通</td>
                    <td>面积</td>
                    <td>气/油灶</td>
                    <%--<td>电磁灶</td>--%>
                    <td>烟机清洗</td>
                    <td>设备运转</td>
                    <td>灭火器</td>
                    <td>毛毯</td>
                    <td>高危设备</td>
                </tr>
            </thead>

            <tbody>
                <asp:Repeater ID="Rep_List" runat="server">
                    <ItemTemplate>
                        <tr class="Table_Tr">
                            <td class="T1"><%#Eval("ClassName")%></td>                            
                            <td class="T2"><%#Eval("MoonName").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>                            
                            <td class="T3"><%#Eval("inWorkNum").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("unWorkNum").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("bedsnum").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <%--<td class="T3"><%#Eval("unWorkNum")%></td>--%>
                           <%-- <td class="T2"><%#Eval("EatSum")%></td>--%>
                            <td class="T2"><%#Eval("WoJu").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("CanJu").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("Rice").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("Surfice").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("Oil").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("shangcaishijian").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("jianchashijian").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("goutong").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("Area").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("Oilstove").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <%--<td class="T3"><%#Eval("ClassName")%></td>--%>
                            <td class="T2"><%#Eval("SmokeMachineWash").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("EquiOperation").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("FireExtinguisher").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T3"><%#Eval("FireBlanket").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                            <td class="T2"><%#Eval("HighRiskEqui").ToString().TrimEnd(',').Replace("☉","<br/>").ToString()%></td>
                        </tr>
                    </ItemTemplate>
                </asp:Repeater>
              <%-- <tr class="Table_Tr">
                    <td class="T1">JZ20-2</td>
                    <td class="T2"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T3"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                </tr>
                <tr class="Table_Tr">
                    <td class="T1">JZ20-2</td>
                    <td class="T2"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T3"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                    <td class="T2"></td>
                    <td class="T3"></td>
                </tr>--%>
            </tbody>
        </table>
        </ContentTemplate>
    </asp:UpdatePanel>
    </div>
    </form>
</body>
</html>
